home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Xm / DropTrans.h.z / DropTrans.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  2.7 KB  |  93 lines

  1. /*
  2.  * DropTrans.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* 
  26.  * @OSF_COPYRIGHT@
  27.  * (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
  28.  * ALL RIGHTS RESERVED
  29.  *  
  30. */ 
  31. /*
  32.  * HISTORY
  33.  * Motif Release 1.2.5
  34. */
  35. /*   $XConsortium: DropTrans.h /main/cde1_maint/2 1995/08/18 19:02:44 drk $ */
  36. /*
  37. *  (c) Copyright 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  38.  
  39. #ifndef _XmDropTrans_h
  40. #define _XmDropTrans_h
  41.  
  42. #include <Xm/Xm.h>
  43.  
  44. #ifdef __cplusplus
  45. extern "C" {
  46. #endif
  47.  
  48. #define XmTRANSFER_FAILURE 0
  49. #define XmTRANSFER_SUCCESS 1
  50.  
  51. externalref WidgetClass xmDropTransferObjectClass;
  52.  
  53. typedef struct _XmDropTransferClassRec * XmDropTransferObjectClass;
  54. typedef struct _XmDropTransferRec      * XmDropTransferObject;
  55.  
  56. #ifndef XmIsDropTransfer
  57. #define XmIsDropTransfer(w) \
  58.     XtIsSubclass((w), xmDropTransferObjectClass)
  59. #endif /* XmIsDropTransfer */
  60.  
  61. typedef struct _XmDropTransferEntryRec {
  62.     XtPointer    client_data;
  63.     Atom        target;
  64. } XmDropTransferEntryRec, * XmDropTransferEntry;
  65.  
  66. /********    Public Function Declarations    ********/
  67. #ifdef _NO_PROTO
  68.  
  69. extern Widget XmDropTransferStart() ;
  70. extern void XmDropTransferAdd() ;
  71.  
  72. #else
  73.  
  74. extern Widget XmDropTransferStart( 
  75.                         Widget refWidget,
  76.                         ArgList args,
  77.                         Cardinal argCount) ;
  78. extern void XmDropTransferAdd( 
  79.                         Widget widget,
  80.                         XmDropTransferEntry transfers,
  81.                         Cardinal num_transfers) ;
  82.  
  83. #endif /* _NO_PROTO */
  84. /********    End Public Function Declarations    ********/
  85.  
  86.  
  87. #ifdef __cplusplus
  88. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  89. #endif
  90.  
  91. #endif /* _XmDropTrans_h */
  92. /* DON'T ADD ANYTHING AFTER THIS #endif */
  93.